import { createStore } from "vuex";
import { user,order,seat,room,movie,discuss,arrange,cinema} from "./modules";
import getters from "./getters";
import persistedstate from "vuex-persistedstate"
export default createStore({
  state: {},
  mutations: {},
  actions: {},
  modules: {
    user,
    order,
    seat,
    room,
    movie,
    arrange,
    discuss,
    cinema
  },
  getters,
  plugins: [persistedstate({
    storage:window.sessionStorage
  })]
});
